home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3dm / dmedia / dmG728Decode.z / dmG728Decode
Encoding:
Text File  |  1998-10-20  |  5.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ddddmmmmGGGG777722228888DDDDeeeeccccooooddddeeee((((3333ddddmmmm))))                                            ddddmmmmGGGG777722228888DDDDeeeeccccooooddddeeee((((3333ddddmmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      dmG728Decode - implements the ITU (International Telecommunication Union)
  10.      Recommendation G.728 decompression (LD-CELP).
  11.  
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////ddddmmmm____aaaauuuuddddiiiioooouuuuttttiiiillll....hhhh>>>>
  15.  
  16.      DDDDMMMMssssttttaaaattttuuuussss ddddmmmmGGGG777722228888DDDDeeeeccccooooddddeeee((((DDDDMMMMGGGG777722228888ddddeeeeccccooooddddeeeerrrr hhhhaaaannnnddddlllleeee,,,,
  17.                           uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr ****iiiibbbbuuuuffff,,,, sssshhhhoooorrrrtttt ****oooobbbbuuuuffff,,,, iiiinnnntttt nnnnssssaaaammmmpppplllleeeessss))))
  18.  
  19.  
  20. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
  21.      _h_a_n_d_l_e    DDDDMMMMGGGG777722228888ddddeeeeccccooooddddeeeerrrr structure, created by ddddmmmmGGGG777722228888DDDDeeeeccccooooddddeeeerrrrCCCCrrrreeeeaaaatttteeee((((3333ddddmmmm)))),
  22.                specifies the signal processing parameters.
  23.  
  24.  
  25.      _i_b_u_f      pointer to input compressed data buffer. The data format is
  26.                unsigned char (8-bit).  This bitstrem buffer must consist of a
  27.                multiple of 10 bytes.
  28.  
  29.  
  30.      _o_b_u_f      pointer to output sample data buffer.  The data format is short
  31.                (16-bit).  The samples are assumed to be two's complement.  The
  32.                sampling rate must be 8 kHz.
  33.  
  34.  
  35.      _n_s_a_m_p_l_e_s  number of sample in the output buffer to be generated. the
  36.                value of nsamples passed to the G.728 decode/decode routines
  37.                must always be a multiple of 40.
  38.  
  39.  
  40. RRRREEEETTTTUUUURRRRNNNNEEEEDDDD VVVVAAAALLLLUUUUEEEE
  41.      Returns DDDDMMMM____FFFFAAAAIIIILLLLUUUURRRREEEE or DDDDMMMM____SSSSUUUUCCCCCCCCEEEESSSSSSSS.
  42.  
  43.  
  44. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  45.      ddddmmmmGGGG777722228888DDDDeeeeccccooooddddeeee((((3333ddddmmmm)))) implements the ITU Recommendation G.728 decompression.
  46.      The uncompressed data sampling rate is 8000 Hz.  And the compressed
  47.      bitrate is 16000 bits/s. The mode for decoding operation can be
  48.  
  49.  
  50.      DDDDMMMM____GGGG777722228888____PPPPOOOOSSSSTTTTFFFFIIIILLLLTTTTEEEERRRRIIIINNNNGGGG____YYYYEEEESSSS
  51.      DDDDMMMM____GGGG777722228888____PPPPOOOOSSSSTTTTFFFFIIIILLLLTTTTEEEERRRRIIIINNNNGGGG____NNNNOOOO
  52.  
  53.  
  54.      that selects a decoder with or without postfiltering.  for speech/voice
  55.      signal, postfiltering should be used.  For DTMF tone or music audio, no
  56.      postfiltering should be used.  The mode is set by a call to
  57.      ddddmmmmGGGG777722228888DDDDeeeeccccooooddddeeeerrrrSSSSeeeettttPPPPaaaarrrraaaammmmssss((((3333ddddmmmm)))). Without calling ddddmmmmGGGG777722228888DDDDeeeeccccooooddddeeeerrrrSSSSeeeettttPPPPaaaarrrraaaammmmssss((((3333ddddmmmm)))),
  58.      decoder sets default to DDDDMMMM____GGGG777722228888____PPPPOOOOSSSSTTTTFFFFIIIILLLLTTTTEEEERRRRIIIINNNNGGGG____YYYYEEEESSSS.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ddddmmmmGGGG777722228888DDDDeeeeccccooooddddeeee((((3333ddddmmmm))))                                            ddddmmmmGGGG777722228888DDDDeeeeccccooooddddeeee((((3333ddddmmmm))))
  71.  
  72.  
  73.  
  74.      see DESCRIPTION in ddddmmmmGGGG777722228888EEEEnnnnccccooooddddeeee((((3333ddddmmmm)))) for the discussion of decompression
  75.      of a part of compressed bit stream beginning in the middle of a
  76.      compressed data file.
  77.  
  78.  
  79. NNNNOOOOTTTTEEEE
  80.      G.728 algorithm was developed for sampling rate of 8 kHz.
  81.  
  82.  
  83. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  84.      dmG728DecoderCreate(3dm), dmG728DecoderDestroy(3dm), dmG728Encode(3dm),
  85.      ITU Recommendations G.728.
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.